/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.scaroo.injectedgallery;

import javax.enterprise.context.RequestScoped;
import javax.enterprise.inject.Produces;
import javax.inject.Named;
import org.scaroo.injectedgallery.objects.DefaultAlbum;

/**
 *
 * @author alexandremazari
 */
public class AlbumProducer {

    @Produces @RequestScoped @Named("album")
    public Album getAlbum()
    {
        return new DefaultAlbum();
    }
}
